package com.joker.aigc.oj.domain.dto.problemsubmit;

import jakarta.validation.constraints.Min;
import lombok.Data;

import java.io.Serializable;

/**
 * 创建请求
 */
@Data
public class ProblemSubmitAddDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编程语言
     */
    private String language;

    /**
     * 用户代码
     */
    private String code;

    /**
     * 题目 id
     */
    @Min(1)
    private Long problemId;

    /**
     * 用户id
     */
    private Long uid;

}